home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
smarcopy.zip
/
SC.DOC
< prev
next >
Wrap
Text File
|
1990-03-06
|
4KB
|
99 lines
SC - Smart Copy Utility
Revision 1.20, October 1989
Spinnaker Data Systems
Datafest Technologies, Inc.
1751 West Alexander Street
Salt Lake City, Utah 84119
(801) 975-0409
SmartCopy is (C) Copyright, 1989 by Datafest Technologies, Inc. All
rights reserved.
Description
----------------------------------------------------------------------
Smart Copy is an incremental-backup type of file copy utility. That
is to say; it allows you to compare a source directory against a
destination directory and copy only those files which have changed.
It has been particularly useful because of the way I use master
diskettes: Whenever I work on a system, I copy it onto my hard disk
from the master diskette. I then proceed to modify the version that
exists on my hard disk. When the modifications are complete, I
update the master diskette.
Simply copying files from the hard disk back onto the master
sometimes creates problems, to wit:
- I don't wish to copy back temporary or scratch files.
In fact, I wish to delete them.
- As I copy back the files, I often encounter files whose
contents I have forgotten. I need to look at the files
before deciding whether to copy or discard them.
- While copying files back, I have found it useful to sort
the files by name, extension, or date.
- Many times I have accumulated more information on my hard
disk than will fit on the master floppy. I therefore need
to exclude big files and select only those files which
absolutely need to be saved. .OBJ modules are the first to
go.
- My frugal nature dislikes copying back files which have
not changed.
- I often wish to look at only those files which exist in
both the source and destination directories.
- I sometimes wish see a list of files which exist in both the
source and destination directories.
Several years ago I discovered a utility called "Incremental Backup
Utility," (IBU.COM) written by Mike Hodapp. This seemed to be the
answer to my problems, and served me well for a time. However, there
were several enhancements that I needed, so I set out to write my own
backup utility.
Usage:
----------------------------------------------------------------------
sc [source_filespec] [source_filespec] [dest_path] [/options]
Where:
source_fspec may be any file specification. Default is *.*
Multiple filespecs may be included, i.e: *.c *.h *.exe
dest_path is the destination path name. Default is a:\.
Options may be:
/Move - Move files from source to destination.
/Same - Include files which are exist in both the source and
destination directories with identical dates.
/Unique - Exclude files which don't already exist in the
destination directory.
When the program is invoked, command options are displayed along the
top of the screen. Any command may be invoked by typing the
highlighted letter associated with the command.
The (R)ange command is perhaps not as obvious as the others. It is
used in conjunction with Include, Exclude and Delete. To exclude a
range of files, move the highlighted bar to the first file. Press
(R)ange and move the bar to the last file. All files between the
first and last will be marked. Then press X (exclude) and all the
files in the range will be excluded.
If you encounter any bugs or problems, please contact the author at
the above address.